package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.dto.SpecParamDTO;
import com.leyou.item.dto.SpuDTO;
import com.leyou.item.entity.Spu;
import com.leyou.item.entity.SpuDetail;

import java.util.List;

public interface SpuService extends IService<Spu> {
    PageDTO<SpuDTO> getpage(Integer page, Integer rows, Long bid, Long cid, Long id, Boolean saleable);

    List<SpecParamDTO> querySpecsValues(Long id, Boolean searching);

    SpuDTO querySpuGetById(Long id);
}
